package cn.ztc.plugin.organism;

import com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean;
import com.gitee.starblues.annotation.ConfigDefinition;
import com.gitee.starblues.extension.mybatis.mybatisplus.SpringBootMybatisPlusConfig;

import java.util.Set;
import java.util.HashSet;

/**
 * @author ZhangTianCi
 */
@ConfigDefinition
public class MybatisConfig implements SpringBootMybatisPlusConfig {

    @Override
    public Set<String> entityPackage() {
        Set<String> typeAliasesPackage = new HashSet<>();
        typeAliasesPackage.add("cn.ztc.plugin.organism.mapper");
        return typeAliasesPackage;
    }

    @Override
    public Set<String> xmlLocationsMatch() {
        Set<String> xmlLocationsMatch = new HashSet<>();
//        xmlLocationsMatch.add("classpath:mapper/**.xml");
        return xmlLocationsMatch;
    }

}
